
#ifndef __UTILITY_H__
#define __UTILITY_H__

#include <vector>
using namespace std;

class Utility  
{
public:
	Utility();
	virtual ~Utility();

protected:
	static FILE *m_pFileHandle;
	static CRITICAL_SECTION m_Critical;

public:
	static void PrintLog(CString str);
	static CString PrintTS();
	static CString PrintTSID();

};

CString FindExtension(const CString& name);
CString FindFileDir(const CString& name);
CString FindFileName(const CString& name);
CString RemoveExtension(const CString& name);

#endif
